<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>
<%@ include file="/WEB-INF/jsp/includes.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<link rel="stylesheet" type="text/css" href="resources/css/styleLogin.css"/>
<title>ABC - EBanking</title>
</head>
<body>
<div id="header">
    <div class="logo">
			<img src="resources/image/logo.png" height="111px" style="margin-left:10px;"/>
    </div>
    <div class="gradient"></div>
</div>
<div id="mainpage">
        <div id="login">
            <form action="login.do" method="post" onsubmit="return validate();">
            	<table id="tbLogin">
                	<tr>
                    	<td>
                        	<input class="txtBox" type="text" id="userId" value="${idTemp}" name="custId" maxlength="15"/>
                        </td>
            		</tr>
                    <tr>
                    	<td>
                        	<div class="error" id="errorId"></div>
                        </td>
            		</tr>
                    <tr>
                    	<td>
                        	<input class="txtBox" type="password" id="userPass" name="custPass" maxlength="15"/>
                        </td>
            		</tr>
                    <tr>
                    	<td>
                        	<div class="error" id="errorPass">
                        	</div>
                        </td>
            		</tr>
                    <tr>
                    	<td>
                        	<div id="captcha"><img id="captcha" src="simpleCaptcha.jpg" width="235"></div>
                        </td>
            		</tr>
                    <tr>
                    	<td>
                        	<input class="txtBox" type="text" id="txtCapt" name="answer" maxlength="10"/>
                        </td>
            		</tr>
					<tr>
                    	<td>
                        	<div class="error" id="errorCaptcha">${message}</div>
                        </td>
            		</tr>                    
                </table>
                <div id="bottomForm">
                	<input class="btton" type="submit" value=""/>                    
                    <a href="register"><input class="btton" type="button" value=""/></a>
				</div>
            </form>
        </div>        
</div>
<div id="footer">
Copyright by &copy; ABC Bank
</div>
<script language="javascript" type="text/javascript" src="resources/js/jquery-1.10.2.min.js"></script>
<script language="javascript" type="text/javascript" src="resources/js/login.js"></script>
</body>
</html>

